package com.company.app.bo;

import java.util.List;

import com.company.app.entities.ProductType;

public interface ProductTypeBO {
	/**
	 * Gets the Product by id.
	 *
	 * @return the Product by id
	 */
	public ProductType getProductById(Long id);
	
	/**
	 * ProductType by filter.
	 *
	 * @return the ProductType
	 */
	public List<ProductType> searchProductTypes(List<ProductType> productType);
	
	/**
	 * Gets the all product type.
	 *
	 * @return the all product type
	 */
	public List<ProductType> getAllProductType();
	
	/**
	 * Execute ProductType bussiness logic.
	 *
	 * @return true, if successful
	 */
	public boolean executeProductTypeBussinessLogic();
	
	/**
	 * Creates the ProductType.
	 *
	 * @param ProductType the ProductType
	 * @return ProductType the new Product Object
	 */
	public ProductType createProductType(ProductType productType);
	
	/**
	 * Update ProductType.
	 *
	 * @param ProductType the ProductType
	 * @return true, if successful
	 */
	public boolean updateProductType(ProductType productType);
	
	/**
	 * Delete ProductType.
	 *
	 * @param ProductType the ProductType
	 * @return true, if successful
	 */
	public boolean deleteProductType(ProductType productType);

}
